﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace LY.Entity.Entities
{

    [XmlRoot(ElementName = "userinfo")]
    public class SmsUserInfo
    {
        [XmlElement(ElementName = "usertype")]
        public string usertype { get; set; }
        [XmlElement(ElementName = "vip")]
        public string vip { get; set; }
        [XmlElement(ElementName = "userId")]
        public string userId { get; set; }
        [XmlElement(ElementName = "mmsrate")]
        public string mmsrate { get; set; }
        [XmlElement(ElementName = "remainFee")]
        public string remainFee { get; set; }
        [XmlElement(ElementName = "Channels")]
        public IList<Channel> Channels { get; set; }
    }
    
    public class Channel
    {
        [XmlElement(ElementName = "Id")]
        public string Id { get; set; }
        [XmlElement(ElementName = "name")]
        public string name { get; set; }
        [XmlElement(ElementName = "MsgCount")]
        public string MsgCount { get; set; }
        [XmlElement(ElementName = "MsgCount_l")]
        public string MsgCount_l { get; set; }
    }


}
